from django.urls import path
from book import views

app_name = 'book'
urlpatterns = [
    path('book/', views.detail_book, name='detail'),
    path('add/', views.AddBook.as_view(), name='add'),
    # path('del/<int:bid>', views.del_book, name='del'),
    path('del/', views.del_book, name='del'),
    path('renew/<int:bid>', views.RenewBook.as_view(), name='renew'),
]
